#pragma once


// CViewBitmapDlg dialog

class CViewBitmapDlg : public CDialog
{
	DECLARE_DYNAMIC(CViewBitmapDlg)
	HBITMAP m_bmp;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
	CViewBitmapDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CViewBitmapDlg();
	enum { IDD = IDD_VIEWBITMAPDLG };

	void SetBitmap(HBITMAP bmp);

	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
};
